Skip to content

Updated to only call async-signal-safe calls after monte slave fork.#1987

Merged
sharmeye merged 4 commits intomasterfrom
1984-threadbase-intermittently-hangs-in-join_thread
Nov 4, 2025
Merged

Updated to only call async-signal-safe calls after monte slave fork.#1987
sharmeye merged 4 commits intomasterfrom
1984-threadbase-intermittently-hangs-in-join_thread

Conversation

@hchen99
Copy link
Copy Markdown
Contributor

@hchen99 hchen99 commented Oct 27, 2025

Updated to only call async-signal-safe calls after monte slave fork per POSIX spec if calling fork in a multi-threaded process to avoid deadlock. Hope this is effective. Otherwise, need to make more changes.
Also, made minimal changes to enable building test_programs in trick_utils/comm.

…and made mimimal changes to enable building test_programs in trick_utils/comm..
@hchen99 hchen99 linked an issue Oct 27, 2025 that may be closed by this pull request
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 55.794% (-0.009%) from 55.803%
when pulling 83ca300 on 1984-threadbase-intermittently-hangs-in-join_thread
into cad3417 on master.

@sharmeye sharmeye merged commit b023d85 into master Nov 4, 2025
10 checks passed
@sharmeye sharmeye deleted the 1984-threadbase-intermittently-hangs-in-join_thread branch January 14, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ThreadBase intermittently hangs in join_thread

3 participants